package code.google.jcontainer.support.log;

import code.google.jcontainer.annotation.Resolve;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * A simple annotation used to annotate on a method, just print a log message before&after invoking method
 *
 * @author <a href="mailto:jfox.young@gmail.com">Young Yang</a>
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Resolve(resolverClass = LogAnnotationResolver.class, when={Resolve.WHEN.BEFORE_METHOD, Resolve.WHEN.AFTER_METHOD})
public @interface Log {
    
}
